package com.accp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.accp.dao.RoomTypeMapper;
import com.accp.pojo.RoomType;
import com.accp.service.RoomTypeService;

@Service
public class RoomTypeServiceImpl implements RoomTypeService {
	@Autowired
	private RoomTypeMapper room;
	@Override
	public int deleteByPrimaryKey(Integer roomtypeid) {
		return room.deleteByPrimaryKey(roomtypeid);
	}

	@Override
	public int insert(RoomType record) {
		return room.insert(record);
	}

	@Override
	public int insertSelective(RoomType record) {
		return room.insertSelective(record);
	}

	@Override
	public RoomType selectByPrimaryKey(Integer roomtypeid) {
		return room.selectByPrimaryKey(roomtypeid);
	}

	@Override
	public int updateByPrimaryKeySelective(RoomType record) {
		return room.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(RoomType record) {
		return room.updateByPrimaryKey(record);
	}

	@Override
	public List<RoomType> getUser() {
		return room.getUser();
	}

}
